package com.janyee.buddha.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by kmlixh on 18/1/2.
 */

public class PageEntity {

    public List<LineText> list;
    public int index;
    public int count;
    public boolean unDrawed = true;

    public PageEntity() {
        list = new ArrayList<>();
        index = 0;
        count = 0;
    }

    public PageEntity(List<LineText> list, int index, int count) {
        this.list = list;
        this.index = index;
        this.count = count;
    }

    public int getNextIndex() {
        return index + count;
    }
}
